package com.service.dao.model;


import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

	import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;

/**
 * 币币交易成交记录
 *
 * @author xxxx
 * @email xxxx@qq.com
 * @date 2020-02-05 11:10:01
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("hm_trading_spot_trades")
public class TradingSpotTrades implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private Integer id;
	/**
	 * 交易对符号
	 */
	private String symbol;
	/**
	 * 
	 */
	private Integer buyOrderId;
	/**
	 * 
	 */
	private Integer sellOrderId;
	/**
	 * 
	 */
	private Integer buyMemberId;
	/**
	 * 
	 */
	private Integer sellMemberId;
	/**
	 * 交易数量
	 */
	private BigDecimal tradeNum;
	/**
	 * 交易价格
	 */
	private BigDecimal orderPrice;
	/**
	 * 交易总金额
	 */
	private BigDecimal totalMoney;
	/**
	 * 
	 */
	private BigDecimal sellFee;
	/**
	 * 
	 */
	private BigDecimal buyFee;
	/**
	 * 详情类型(1:买入,2:卖出)
	 */
	private Integer orderType;
	/**
	 * 价格类型(1:限价,2:市价)
	 */
	private Integer priceType;
	/**
	 * 
	 */
	private Date createTime;

}
